package com.tql.hualala.bean;

import java.util.List;

public class FoodBean {
    //是/否启用
    private String isActive;
    //菜品名称
    private String foodName;
    //	线上菜品分类ID
    private String foodCategoryKey;
    //pos菜品分类名称
    private String foodCategoryCode;
    //pos菜品分类名称
    private String foodCategoryName;
    private String foodType;
    private String foodID;
    private String groupID;
    private String shopID;
    private String departmentID;
    private String parentFoodID;
    //	是/否上架
    private String isOpen;
    //是否上新
    private String isNews;
    private String origin;
    //菜品注记码
    private String foodMnemonicCode;
    //菜品编号 可用于与三方菜品数据做映射
    private String foodCode;

    private List<UnitsBean> units;

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getIsActive() {
        return isActive;
    }

    public void setIsActive(String isActive) {
        this.isActive = isActive;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getFoodCategoryKey() {
        return foodCategoryKey;
    }

    public void setFoodCategoryKey(String foodCategoryKey) {
        this.foodCategoryKey = foodCategoryKey;
    }

    public String getFoodCategoryCode() {
        return foodCategoryCode;
    }

    public void setFoodCategoryCode(String foodCategoryCode) {
        this.foodCategoryCode = foodCategoryCode;
    }

    public String getFoodCategoryName() {
        return foodCategoryName;
    }

    public void setFoodCategoryName(String foodCategoryName) {
        this.foodCategoryName = foodCategoryName;
    }

    public String getFoodType() {
        return foodType;
    }

    public void setFoodType(String foodType) {
        this.foodType = foodType;
    }

    public String getFoodID() {
        return foodID;
    }

    public void setFoodID(String foodID) {
        this.foodID = foodID;
    }

    public String getGroupID() {
        return groupID;
    }

    public void setGroupID(String groupID) {
        this.groupID = groupID;
    }

    public String getShopID() {
        return shopID;
    }

    public void setShopID(String shopID) {
        this.shopID = shopID;
    }

    public String getDepartmentID() {
        return departmentID;
    }

    public void setDepartmentID(String departmentID) {
        this.departmentID = departmentID;
    }

    public String getParentFoodID() {
        return parentFoodID;
    }

    public void setParentFoodID(String parentFoodID) {
        this.parentFoodID = parentFoodID;
    }

    public String getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(String isOpen) {
        this.isOpen = isOpen;
    }

    public String getIsNews() {
        return isNews;
    }

    public void setIsNews(String isNews) {
        this.isNews = isNews;
    }

    public String getFoodMnemonicCode() {
        return foodMnemonicCode;
    }

    public void setFoodMnemonicCode(String foodMnemonicCode) {
        this.foodMnemonicCode = foodMnemonicCode;
    }

    public String getFoodCode() {
        return foodCode;
    }

    public void setFoodCode(String foodCode) {
        this.foodCode = foodCode;
    }

    public List<UnitsBean> getUnits() {
        return units;
    }

    public void setUnits(List<UnitsBean> units) {
        this.units = units;
    }


    @Override
    public String toString() {
        return "FoodBean{" +
                "isActive='" + isActive + '\'' +
                ", foodName='" + foodName + '\'' +
                ", foodCategoryKey='" + foodCategoryKey + '\'' +
                ", foodCategoryCode='" + foodCategoryCode + '\'' +
                ", foodCategoryName='" + foodCategoryName + '\'' +
                ", foodType='" + foodType + '\'' +
                ", foodID='" + foodID + '\'' +
                ", groupID='" + groupID + '\'' +
                ", shopID='" + shopID + '\'' +
                ", departmentID='" + departmentID + '\'' +
                ", parentFoodID='" + parentFoodID + '\'' +
                ", isOpen='" + isOpen + '\'' +
                ", isNews='" + isNews + '\'' +
                ", foodMnemonicCode='" + foodMnemonicCode + '\'' +
                ", foodCode='" + foodCode + '\'' +
                ", units=" + units.get(0).toString()+
                '}';
    }
}
